﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OracleCompare.Core
{
    public class TableEntity
    {
        private string _tableName;

        public string TableName
        {
            get { return _tableName; }
            set { _tableName = value; }
        }

        private string _comments;

        public string Comments
        {
            get { return _comments; }
            set { _comments = value; }
        }
    }

    public class ViewEntity
    {
        private string _viewName;

        public string ViewName
        {
            get { return _viewName; }
            set { _viewName = value; }
        }

        private string _text;

        public string Text
        {
            get { return _text; }
            set { _text = value; }
        }
    }

    public class ColumnEntity
    {
        private string _tableName;

        public string TableName
        {
            get { return _tableName; }
            set { _tableName = value; }
        }

        private string _columnName;

        public string ColumnName
        {
            get { return _columnName; }
            set { _columnName = value; }
        }

        private string _dataType;

        public string DataType
        {
            get { return _dataType; }
            set { _dataType = value; }
        }

        private int _dataLength = 0;

        public int DataLength
        {
            get { return _dataLength; }
            set { _dataLength = value; }
        }

        private bool _nullable;

        public bool Nullable
        {
            get { return _nullable; }
            set { _nullable = value; }
        }

        private string _dataDefault;

        public string DataDefault
        {
            get { return _dataDefault; }
            set { _dataDefault = value; }
        }

        private string _comments;

        public string Comments
        {
            get { return _comments; }
            set { _comments = value; }
        }
    }

    public class ProcedureEntity
    {
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private string _type;

        public string Type
        {
            get { return _type; }
            set { _type = value; }
        }

        private string _text;

        public string Text
        {
            get { return _text; }
            set { _text = value; }
        }
    }
}
